Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2024-03-27 07:49:51,068 [620] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2024-03-27 07:49:51,202 [620] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2024-03-27 07:49:51,207 [620] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-03-27 07:49:51,208 [620] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2024-03-27 07:49:51,209 [620] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-03-27 07:49:51,239 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:51,240 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:51,241 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:51,241 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:51,416 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2024-03-27 07:49:52,233 [620] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2024-03-27 07:49:52,249 [620] INFO     pulse.unloader: 
Do an intial solve
2024-03-27 07:49:52,337 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:52,338 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:52,338 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:52,339 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:52,339 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:49:52,847 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-03-27 07:49:52,924 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-03-27 07:49:53,134 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-03-27 07:50:31,587 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:31,588 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:31,589 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:31,590 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:31,590 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:31,777 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-03-27 07:50:31,852 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-03-27 07:50:32,044 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-03-27 07:50:35,466 [620] INFO     pulse.unloader: 
Iteration: 0
2024-03-27 07:50:39,027 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-03-27 07:50:39,070 [620] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-03-27 07:50:43,250 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,254 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-03-27 07:50:43,301 [620] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-03-27 07:50:43,694 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,737 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,738 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,782 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,784 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:50:43,821 [620] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2024-03-27 07:50:43,972 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:43,972 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:43,973 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:43,973 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:43,974 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:50:44,266 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-03-27 07:50:44,340 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-03-27 07:50:44,552 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-03-27 07:51:23,093 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:51:23,093 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:51:23,094 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:51:23,094 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:51:23,095 [620] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-03-27 07:51:23,234 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-03-27 07:51:23,312 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-03-27 07:51:23,504 [620] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-03-27 07:51:26,938 [620] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2024-03-27 07:51:27,112 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,113 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,156 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,157 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,199 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,200 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,239 [620] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2024-03-27 07:51:27,251 [620] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2024-03-27 07:51:27,251 [620] INFO     pulse.unloader: 
Iteration: 1
2024-03-27 07:51:27,429 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,430 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,471 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,472 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,513 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,514 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:27,552 [620] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2024-03-27 07:51:30,558 [620] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2024-03-27 07:51:30,731 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,732 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,774 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,775 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,816 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,817 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:30,854 [620] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2024-03-27 07:51:30,866 [620] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2024-03-27 07:51:30,866 [620] INFO     pulse.unloader: 
Iteration: 2
2024-03-27 07:51:31,040 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,041 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,082 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,084 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,125 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,126 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:31,163 [620] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2024-03-27 07:51:34,155 [620] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2024-03-27 07:51:34,330 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,331 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,374 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,375 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,420 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,421 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,459 [620] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2024-03-27 07:51:34,471 [620] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2024-03-27 07:51:34,471 [620] INFO     pulse.unloader: 
Iteration: 3
2024-03-27 07:51:34,645 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,646 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,688 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,689 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,730 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,731 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:34,769 [620] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2024-03-27 07:51:37,805 [620] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2024-03-27 07:51:37,979 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:37,980 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,022 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,023 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,065 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,066 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,103 [620] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2024-03-27 07:51:38,115 [620] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2024-03-27 07:51:38,116 [620] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2024-03-27 07:51:38,293 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,295 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,336 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,337 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,377 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-03-27 07:51:38,378 [620] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()